package kr.hkit.powerjava.chapter26.Young;

import java.sql.SQLException;
import java.util.ArrayList;

public interface DaoInterface<T> {

	public void insertItem (T item) throws SQLException;
	public void deleteItem (T item) throws SQLException;
	public void updateItem (T item) throws SQLException;
	public T searchItem (T item) throws SQLException;
	//콘솔창에서 우리가 확인하기 위해
	public ArrayList<T> listItems() throws SQLException;
	
}
